package com.neo.office.server.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import lombok.Data;

@Data
@TableName(value = "t_menu_role")
@ApiModel(value="MenuRole对象",description = "")
public class MenuRole implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value="id")
    private Integer id;

    /**
     * 菜单id
     */
    @TableField(value = "mid")
    @ApiModelProperty(value="菜单id")
    private Integer mid;

    /**
     * 权限id
     */
    @TableField(value = "rid")
    @ApiModelProperty(value="权限id")
    private Integer rid;

}